package com.kingtsoft.study.persist;

import com.kingtsoft.study.model.StudyTeacher;

public interface StudyTeacherMapper {
    int deleteByPrimaryKey(String id);

    int insert(StudyTeacher record);

    int insertSelective(StudyTeacher record);

    StudyTeacher selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(StudyTeacher record);

    int updateByPrimaryKey(StudyTeacher record);
    
    /**
     * 
     * @Title: selectByUserId 
     * @Description:  根据userId获取学生对象
     * @author: shenlx
     * @param userId
     * @return
     * @return: StudyStudent
     */
    StudyTeacher selectByUserId(String userId);
}